CFLAGS =  -g -I../libcsc-armv5te/include
CXXFLAGS = $(CFLAGS)

all: test rgbyuv

test: test.o
	$(CC) -o $@ $^ -L../libcsc-armv5te/src -lcsc-armv5te

rgbyuv: BMPFile.o rgbyuv.o
	$(CXX) -o $@ $^ -L../libcsc-armv5te/src -lcsc-armv5te

clean:
	rm -f test *.o
